github.com/gotd/td/telegram.lifecycle.mode (field)
8 uses
github.com/gotd/td/telegram (current package)
connect.go#L219: if !c.life.mode.CompareAndSwap(int32(modeIdle), int32(modeRun)) {
connect.go#L220: switch lifecycleMode(c.life.mode.Load()) {
lifecycle.go#L42: mode atomic.Int32 // lifecycleMode
lifecycle.go#L127: if !c.life.mode.CompareAndSwap(int32(modeIdle), int32(modeStart)) {
lifecycle.go#L128: switch lifecycleMode(c.life.mode.Load()) {
lifecycle.go#L246: c.life.mode.CompareAndSwap(int32(modeIdle), int32(modeClosed))
lifecycle.go#L247: switch lifecycleMode(c.life.mode.Load()) {
lifecycle.go#L286: if lifecycleMode(c.life.mode.Load()) == modeRun {
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |